import React, {Component} from 'react';
import {Relax} from 'iflux2';
import {
  Row, 
  Col,
  Button
} from 'antd';
import noop from 'util/noop';

@Relax
export default class TypeSet extends Component{
  static defaultProps = {
    onSave: noop
  }
  render() {
    let {onSave} = this.props;
    return (
      <Row>
        <Col span="6"></Col>
        <Col span="18">
          <Button onClick={onSave} type="primary">保存</Button>
        </Col>
      </Row>
    )
  }
}